<%@ page language="java" import="java.util.*,com.soloyogame.anitoys.my.web.controller.front.orders.*" pageEncoding="utf-8"%>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<link rel="shortcut icon" type="image/x-icon" href="http://112.124.52.129:9990/jshop">
        <title>物流信息</title>
		<style type="text/css">
			body{font: 12px "Microsoft YaHei", Verdana, arial, sans-serif;line-height: 22px;}
			.express{width: 600px;margin: 0 auto;}
			.expressInfo{border: 1px solid #90bfff;}
			.express table tr td{  padding: 10px; color: #878787; border-bottom: 1px solid #d8d8d8; background-color: #fbfbfb}
			.express table tr.last td{  color: #FF8c00; background-color: #ffffff}
			.time{  width: 140px; text-align: right;}
			.expressInfo .status {width: 30px; background: url("../images/jshop/ico_status.gif") -50px center no-repeat #fbfbfb;}
			.expressInfo .status-first{background-position: 0px center;}
			.expressInfo .status-last{background-position: -150px center;}
		</style>
	</head>

	<body>
	 	<%
		 OrderAction te=new OrderAction();
	     List<Map<String,Object>> list =te.qryApiStoreInfo(request.getParameter("id"));
	 	%>
		<div class="express">
			<table class="expressInfo" cellspacing="0" width="100%">
				<tbody>
					 <% if(list.size()>0){%>
	        		<%
			        	for(Map<String,Object> map:list){
			        	String time = map.get("time")+"";
			        	String status = map.get("status")+"";
			        %>
			        <tr>
						<td class="time"><%= time%></td>
						<td class="status status-first">&nbsp;</td>
						<td><%= status%></td>
					</tr>
			         <% } %>
			          <% }else{ %>
			          <tr>  
				                <td width="200px" style="border:0px #C2C2C2 solid;" colspan="2">暂无物流信息！</td>
				      </tr>
				      <% } %>
					<tr class="last">
						<td class="time">2015-12-22 16:24:33</td>
						<td class="status status-last">&nbsp;</td>
						<td>客户 签收人 : 代办点签收 已签收 感谢使用圆通速递，期待再次为您服务</td>
					</tr>
				</tbody>
			</table>
		</div>
	</body>
</html>